package com.itwill.ecom.boardQnA;

import java.sql.Date;

import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonRootName;
@JsonRootName("BoardQnABeans")
public class BoardQnABeans {
	@JsonProperty("qnaboard_no")
	private int qnaboard_no;
	@JsonProperty("qnaboard_title")
	private String qnaboard_title;
	@JsonProperty("qnaboard_date")
	private Date qnaboard_date ;
	@JsonProperty("qnaboard_id")
	private String qnaboard_id;
	@JsonProperty("qnaboard_content")
	private String qnaboard_content;
	@JsonProperty("qnaboard_nickname")
	private String qnaboard_nickname;
	@JsonProperty("qnaboard_depth")
	private int qnaboard_depth;
	@JsonProperty("qnaboard_group")
	private int qnaboard_group;
	
	public BoardQnABeans(){
		
	}
	public BoardQnABeans(int qnaboard_no, String qnaboard_title,
			Date qnaboard_date, String qnaboard_id, String qnaboard_content,
			String qnaboard_nickname, int qnaboard_depth, int qnaboard_group) {
		
		this.qnaboard_no = qnaboard_no;
		this.qnaboard_title = qnaboard_title;
		this.qnaboard_date = qnaboard_date;
		this.qnaboard_id = qnaboard_id;
		this.qnaboard_content = qnaboard_content;
		this.qnaboard_nickname = qnaboard_nickname;
		this.qnaboard_depth = qnaboard_depth;
		this.qnaboard_group = qnaboard_group;
	}
	public int getQnaboard_no() {
		return qnaboard_no;
	}
	public void setQnaboard_no(int qnaboard_no) {
		this.qnaboard_no = qnaboard_no;
	}
	public String getQnaboard_title() {
		return qnaboard_title;
	}
	public void setQnaboard_title(String qnaboard_title) {
		this.qnaboard_title = qnaboard_title;
	}
	public Date getQnaboard_date() {
		return qnaboard_date;
	}
	public void setQnaboard_date(Date qnaboard_date) {
		this.qnaboard_date = qnaboard_date;
	}
	public String getQnaboard_id() {
		return qnaboard_id;
	}
	public void setQnaboard_id(String qnaboard_id) {
		this.qnaboard_id = qnaboard_id;
	}
	public String getQnaboard_content() {
		return qnaboard_content;
	}
	public void setQnaboard_content(String qnaboard_content) {
		this.qnaboard_content = qnaboard_content;
	}
	public String getQnaboard_nickname() {
		return qnaboard_nickname;
	}
	public void setQnaboard_nickname(String qnaboard_nickname) {
		this.qnaboard_nickname = qnaboard_nickname;
	}
	public int getQnaboard_depth() {
		return qnaboard_depth;
	}
	public void setQnaboard_depth(int qnaboard_depth) {
		this.qnaboard_depth = qnaboard_depth;
	}
	public int getQnaboard_group() {
		return qnaboard_group;
	}
	public void setQnaboard_group(int qnaboard_group) {
		this.qnaboard_group = qnaboard_group;
	}
	public String toString(){
		return this.qnaboard_id+this.qnaboard_nickname;
	}
	
	
	
	

}
